module.exports = {
  publicPath: '/',
  outputDir: process.env.outputDir,
  productionSourceMap: false,
  lintOnSave: false,
  devServer: {
    port: 8082,
    https: false,
    proxy: {
      '/api': {
        target: 'http://api.jufuyun.com.cn',
        changeOrigin: true,
        ws: true,
        pathRewrite: {
          '^/api': ''
        }
      },
      '/local': {
        target: 'http://118.24.17.199:9105',
        changeOrigin: true,
        ws: true,
        pathRewrite: {
          '^/local': ''
        }
      }
    }
  }
}
